<template>
<div>
<!--  <h1 style="margin-top: 20px">知识库维护结束！</h1>-->

  <el-card shadow="hover" style="min-height: 600px; margin-top: 15px">
    <el-table :data="tableData" highlight-current-row stripe >
      <el-table-column prop="ZongCheng" label="总成" width="270"></el-table-column>
      <el-table-column prop="Phenomenon" label="故障现象" width="270"></el-table-column>
      <el-table-column prop="Describe" label="故障原因" width="270"></el-table-column>
      <el-table-column prop="Method" label="维修方案" width="270"></el-table-column>
      <el-table-column prop="Phenomenon_Location" label="故障位置" width="270"></el-table-column>
      <el-table-column prop="Material" label="维修物料" width="270"></el-table-column>
    </el-table>
  </el-card>
</div>
</template>

<script>
import {request} from "../../network/2";
export default {
  name: "AddBack",
  data() {
    return{
      tableData: [],
    }
  },
  created() {
    this.getRes()
  },
  methods:{
    async getRes(){
      let res = await request("/add_back")
      this.tableData = res.data
      console.log(res);
    },
  }
}
</script>

<style scoped>

</style>